<div class="mainBody-box-bg1">
<div>
	<form method="get" id="formSearch" action="">
			<div class="left">
        	附属卡号：<input style="width:100px;" onkeydown="{literal}if(setCard('txt_card',event)){$('#formSearch').submit();}{/literal}" type="text" id="txt_card" value="{$card}" name="txt_card" />
        	真实姓名：<input style="width:100px;" onkeydown="{literal}if(setCard('txt_card',event)){$('#formSearch').submit();}{/literal}" type="text" id="txt_owner_name" value="{$owner_name}" name="txt_owner_name" />
        	账户状态：
        	<select style="width:70px;" name="sel_card_status" id="sel_card_status">
              	<option value="-1">全部</option>
              	<option value="2" {if $card_status eq 2}selected="selected"{/if}>冻结</option>
              	<option value="1" {if $card_status eq 1}selected="selected"{/if}>正常</option>
          	</select>
				扣减积分状态：
				<select style="width:80px;" name="sel_pay_status" id="sel_pay_status">
	              	<option value="-1">全部</option>
	              	<option value="2" {if $pay_status eq 2}selected="selected"{/if}>冻结消费</option>
	              	<option value="1" {if $pay_status eq 1}selected="selected"{/if}>正常</option>
	          	</select>
	          	所属社区：
	        	<input style="width:100px;" onkeydown="{literal}if(setCard('txt_card',event)){$('#formSearch').submit();}{/literal}" type="text" id="txt_community_name" value="{$community_name}" name="txt_community_name" />
	          	</div>
	          	<div class="left" style="padding-top:3px;">
	          	<a id="searchButton" onclick="{literal}if(setCard('txt_card')){$('#formSearch').submit();}{/literal}" class="buttonStyle"><span></span>搜 索</a>
	          	</div>
	</form>
	</div>
</div>

<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='1' id='list-table' bgcolor="#cccccc" width="100%" class="table1">
  <tr>
  	<th height="40" width="100" align="left">
  		附属卡号</th>        
    <th>用户名</th>    
    <th>真实姓名</th>
    <th>商户简称</th>
    <th width="80px">剩余积分</th>
    <th width="80px">扣减积分状态</th>
	<th width="120px">积分记录查看</th>
  </tr>
  {foreach from=$list item=list}
  <tr>
  	<td align="left" height="40">{$list.supplementary_card}</td>
    <td align="center">{if $list.first_login eq 1}未设置{else}{$list.user_name}{/if}</td>
    <td align="center">{$list.owner_name}</td>
    <td align="center">{$list.shop_simple_name}</td>
    <td align="center">{$list.balance}</td>
    <td align="center">{if $list.owner_card_status eq 1}正常{else}关闭{/if}</td>
    <td align="center">
    <a href="{$manageDomain}ownerIntegralManage/addDetail?ownerID={$list.owner_id}&sel_shop={$list.shop_id}">增加</a>
    <a href="{$manageDomain}ownerIntegralManage/reduceDetail?ownerID={$list.owner_id}">扣减</a>
    <a href="{$manageDomain}ownerIntegralManage/cancelDetail?ownerID={$list.owner_id}">撤销</a>
    </td>
  </tr>
  {/foreach}
  <tr>
    <th align="right" colspan="7">{$pageStr}</th>
  </tr>
</table>
</div>
